@import "./reset.scss";

html,
body,
#root,
.app{
    width: 100%;
    height: 100%;
}

// 首页
.page-home{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    .sea{
        width: 100%;
        height: 48px;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #00a5ff;
        padding: 0 12px;
        input{
            width: 100%;
            height: 34px;
            border:0;
            outline: none;
            border-radius: 17px;
            text-indent: 2em;
            font-size: 12px;
            color:#ccc;
        }
    }
    .wrapper{
        width: 100%;
        height: 569px;
        position: relative;
        overflow: auto; 
        .subject{
            .flush{
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 120px;
                padding: 0 12px;
            }
            .flushB{
                width: 100%;
                height: 120px;
                padding: 0 12px;
                .title1{
                    font-size: 16px;
                    font-weight: 800;
                    width: 100%;
                    height: 32px;
                    line-height: 32px;
                }
                .hot{
                    width: 100%;
                    height: 46px;
                    display: flex;
                    justify-content: space-around;
                    font-size: 12px;
                    align-items: center;
                    span{
                        padding: 0 16px;
                        box-sizing: border-box;
                        background-color: #f3f3f3;
                        height: 30px;
                        line-height: 30px;
                        border-radius: 4px;
                    }
                }
            }
        }
    }
}

.list{
    width: 100%;
    padding: 15px;
    .item{
        width: 100%;
        height: 100px;
        margin-bottom: 30px;
        display: flex;
        img{
            width: 80px;
            height: 80px;
            margin-right: 5px;
        }
        .right{
            flex:1;
            h2{
                width: 180px;
                font-size: 16px;
                font-weight: 600;
                white-space:nowrap;
                overflow:hidden;
                text-overflow: ellipsis;
                margin-bottom: 12px;
            }
            .p1{
                font-size: 10px;
                margin-bottom: 8px;
                span{
                    color:orange;
                }
            }
            .p2{
                font-size: 10px;
                width: 100%;
                display: flex;
                justify-content: space-between;
            }
            .p3{
                display: flex;
                width: 100%;
                font-size: 8px;
                justify-content: space-between;
                margin-top: 4px;
                span{
                    color:orange;
                    border:1px solid orange;
                    padding: 0 4px;
                    margin-right: 5px;
                    border-radius: 5px;
                }
            }
        }
    }
}
//吸顶样式
.flush{
    .title1{
        font-size: 16px;
        font-weight: 800;
        width: 100%;
        height: 32px;
        line-height: 32px;
    }
    .hot{
        width: 100%;
        height: 46px;
        display: flex;
        justify-content: space-around;
        font-size: 12px;
        align-items: center;
        span{
            padding: 0 16px;
            box-sizing: border-box;
            background-color: #f3f3f3;
            height: 30px;
            line-height: 30px;
            border-radius: 4px;
        }
    }
}
//Tab 组件
.tab1{
    width: 100%;
    height: 42px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5px;
    font-size: 14px;
    span{
        b{
            font-size: 10px;
        }
    }
}

//TabBar 组件
.tabbar{
    width: 100%;
    height: 50px;
    border-top: 1px solid #9b9b9b;
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    font-size: 18px;
    a{
        color:#929292;
    }
    .tit{
        font-size: 10px;
    }
    a.active{
        color:#00a5ff;
        font-weight: 600;
    }
}

//swiper 组件
.swiper-container{
    height: 160px;
}
.swiper-container img{
    width: 100%;
    height: 100%;
}

//header 组件
.header{
    position: relative;
    z-index: 100;
    width: 100%;
    height: 46px;
    display: flex;
    padding: 0 15px;
    justify-content: space-between;
    align-items: center;
}

//店铺页面
.page-mine{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    .list{
        width: 100%;
        height: 571px;
        overflow: auto;
        .use{
            width: 100%;
            height: 100px;
            display: flex;
            align-items: center;
            padding: 5px;
            .user{
                width: 72px;height: 72px;
                border-radius: 36px;
                overflow: hidden;
                margin-right: 12px;
                img{
                    width: 100%;
                    height: 100%;
                }
            }
            .right{
                flex: 1;
                h2{
                    font-size: 20px;
                }
                p{
                    font-size: 10px;
                    color:#ccc
                }
            }
        }
        img{
            width: 100%;
            margin-bottom: 15px;
        }
        .sellve{
            width: 100%;
            height: 65px;
            border-bottom: 1px solid #ccc;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 16px;
            color:#666;
            .lef{
                span{
                    margin-left: 15px;
                }
            }
            .rig{
                span{
                    color:crimson;
                    margin-right: 10px;
                }
            }
        }
    }
}


//店铺页面
.detail{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    .d-content{
        width: 100%;
        height: 561px;
        overflow: auto;
        .d-shopTit{
            width: 100%;
            height: 220px;
            position: absolute;
            top:0;
            img{
                width: 100%;
                height: 100%;
            }
            .d-stcont{
                width: 100%;
                height: 100%;
                background: rgba($color: #000000, $alpha: .3);
                position: absolute;
                top:0;
                left: 0;
                padding: 66px 15px 0 15px;
                color:#fff;
            }
        }
    }
    .d-botton{
        width: 100%;
        height: 60px;
        background: rgba($color: #000000, $alpha: .5);
    }
}

.light{
    color:#fff; 
}

.dt{
    width: 100%;
    display: flex;
    justify-content: space-between;
    span{
        font-size: 22px;
    }
    .active{
        color:crimson;
    }
}

//收藏页面样式
.page-collect{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    .content{
        width: 100%;
        height: 621px;
        overflow: auto;
        .informise{
            width: 100%;
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid #ccc;
        }
    }
}

